<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script type="text/javascript" src="../require.js"></script>
</head>
<body>
<script type="text/javascript">
//参数1: 要加载的模块，不要js后缀
//加载模块要以路径形式传参
require(['module/a']);
</script>
</body>
</html>